/*global Vue*/
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
// import App from '@/App';
import Index from '@/index.vue';
import Article from '@/components/Article'
import ArtCon from '@/components/ArtCon'

Vue.use(Router)

module.exports = new Router({
  routes: [
    // { path: '/', component: Article },
    { path: '/', redirect: '/index' },
    { path: '/index', component: Index },
    { path: '/article', component: Article },
    { path: '/artcon', component: ArtCon }
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // },
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // }
  ]
})
